Skip to content

Conversation

ondrejromancov
Copy link

@ondrejromancov ondrejromancov commented Jun 11, 2024

🎉

How did I do it:

  1. Adding a hyphen to getLastToken is obvious
  2. I pasted the parse.pegjs file into ChatGPT and asked where I should add support for entities containing a hyphen
  3. ChatGPT pointed me towards ident_part
  4. I regenerated the parser with npm build

@ondrejromancov ondrejromancov requested a review from the21st June 11, 2024 14:34
Copy link

@the21st the21st left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow, great job! This was more complicated than I anticipated (having to look at pegjs)

@ondrejromancov ondrejromancov merged commit 24b6a2d into release Jun 13, 2024
@ondrejromancov ondrejromancov deleted the orom/support-parsing-database-entities-with-hyphens branch June 13, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants